<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./vue.js"></script>
</head>
<body>
    <!-- div标签是vue的挂载点 -->
    <div id="root">
       <div v-on:click="handleClick">{{msg}}</div>

    </div>
    <script>
        new Vue(
            {
                el:"#root",
                data:{
                    msg:"大佬你好",
                    number:"1212"
                },
                methods:{
                    handleClick:function()
                    {
                        this.msg="hahahah"

                    }


                }
            }
        )


    </script>
</body>
</html>